feat(agent): show readiness and capabilities before delegation - #6643
Open
BradGroux wants to merge 10 commits into
Open
feat(agent): show readiness and capabilities before delegation#6643BradGroux wants to merge 10 commits into
BradGroux wants to merge 10 commits into
Conversation
Contributor
Author
Co-authored-by: Brad Groux <bradgroux@hotmail.com> Signed-off-by: Brad Groux <bradgroux@hotmail.com>
Co-authored-by: Brad Groux <bradgroux@hotmail.com> Signed-off-by: Brad Groux <bradgroux@hotmail.com>
Co-authored-by: Brad Groux <bradgroux@hotmail.com> Signed-off-by: Brad Groux <bradgroux@hotmail.com>
Co-authored-by: Brad Groux <bradgroux@hotmail.com> Signed-off-by: Brad Groux <bradgroux@hotmail.com>
Co-authored-by: Brad Groux <bradgroux@hotmail.com> Signed-off-by: Brad Groux <bradgroux@hotmail.com>
The Aug 8 language and evidence work was lost during a subsequent rebase. This restores the agreed changes: - 'Ready locally' → 'Runtime ready' in card and AGENTS.md - 'Never verified' → 'Not yet observed' for time labels - 'Sources' → 'Included in session launch' for tool sources label - Session/channel identity shown in manifest header - Credential persistence readiness check (Keyring entry found) - lastVerifiedAt derives only from observer events, not catalog/runtime refreshes Cherry-picked from work-2957-feedback branch. AGENTS.md conflict resolved by keeping the rebased base and appending the wolfyy970-agreed guidance. Co-authored-by: Brad Groux <bradgroux@hotmail.com> Signed-off-by: Brad Groux <bradgroux@hotmail.com>
… per wolfyy970 review Two truth-in-label changes from wolfyy970's latest review on block#2957: 1. 'Keyring entry verified' → 'Keyring entry found'. The probe only confirms an entry exists under the agent's keyring name — it does not prove the stored key derives the agent's pubkey. The Rust doc comment already says this; the UI detail now matches. 2. lastVerifiedAt now derives only from observer events (initialize, session_config_captured, available_commands_update). Previously it included catalogObservedAt and runtimeObservedAt, so a catalog or runtime query refresh could make the card say 'Verified just now' without any new session evidence. The label now reflects only actual session observation. Added a test verifying lastVerifiedAt ignores catalog/runtime refreshes. Co-authored-by: Brad Groux <bradgroux@hotmail.com> Signed-off-by: Brad Groux <bradgroux@hotmail.com>
Co-authored-by: Brad Groux <bradgroux@hotmail.com> Signed-off-by: Brad Groux <bradgroux@hotmail.com>
…d event The reduceAgentCapabilityEvidence call was using an undefined 'event' variable left over from a loop refactor on main. Changed to iterate over all sortedAdded events so capability evidence is accumulated correctly. Co-authored-by: Brad Groux <brad@digitalmeld.com> Signed-off-by: Brad Groux <brad@digitalmeld.com>
The observer store trims to OBSERVER_EVENTS_LOW_WATER (90% of MAX_OBSERVER_EVENTS = 2700) when events exceed the 3000 cap, not to the cap itself. Updated the test assertion and added a comment explaining the low-water mark. Co-authored-by: Brad Groux <brad@digitalmeld.com> Signed-off-by: Brad Groux <brad@digitalmeld.com>
BradGroux
force-pushed
the
agent/agent-capability-readiness
branch
from
August 25, 2026 19:27
4bbb2b6 to
716311b
Compare
Contributor
Author
|
Rebased onto the latest Conflict resolution: All 10 commits applied after resolving this one conflict. The capability readiness feature is not present on current No review comments on this PR. CI will verify the build and test gate. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2931.
What this fixes
Buzz currently makes an owner infer whether an agent is ready for local delegation by cross-referencing the agent editor, managed-runtime state, presence, and ACP observer logs. Missing evidence can look like unsupported behavior, while requested and effective permission modes are not visible together.
The important pre-delegation questions should be answerable in one place: is this local process healthy, which runtime and model are active, which features and tools were actually reported, how risky are those tools, and is the evidence from the current process and session?
What changes
The owner-only Runtime tab now includes a readiness and capability manifest built from four existing evidence sources:
The card shows installation, authentication, process, community, presence, observer readiness, runtime and model facts, prompt and output features, commands, MCP source names, tool descriptors and risk classes, requested and effective permission modes, evidence source, divergence, freshness, and known limitations.
The reducer treats absent or malformed evidence as unknown. Evidence is retained independently of the capped raw transcript, but it is invalidated across process and session boundaries. A stopped process, failed lifecycle, offline presence, closed observer, or initialize event from an older process cannot produce a ready state.
Trust boundary
This is local owner evidence, not a public capability, safety, or reputation claim. The UI says “Runtime ready” and identifies the owner-and-machine scope.
The harness projects only MCP server names and permission semantics. It does not forward MCP commands, arguments, environment values, credentials, executable paths, raw lifecycle errors, or config values.
Desktop parsing is strict and bounded. Older Desktop backends that do not report the new static fields remain compatible and render those facts as unknown. A non-owner E2E regression test verifies that neither the Runtime tab nor the manifest is exposed.
Verification
mainat5bf78671f45178f8de02ba18d3d321cbbf19cd1f; the current PR head isd53016c8490f1c0675b4dc56ac033bb7c9f29084.cargo test -p buzz-acp --libpasses 689 tests after removing an unrelated inheritedBUZZ_ACP_LAZY_POOLenvironment override.Non-goals